package com.group3.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ls_liveroom")
public class LiveRoom {
    @TableId(type = IdType.AUTO)
    @IsAutoIncrement
     @Column(comment = "直播间ID")
    private Integer id; // 直播间ID
    @Column(comment = "直播间名称")
    private String name; // 直播间名称
     @Column(comment = "主播ID")
    private Integer anchorId; // 主播ID
     @Column(comment = "直播间简介")
    private Integer status; // 状态：0-未开播，1-直播中，2-已结束
     @Column(comment = "封面图")
    private String coverUrl; // 封面图
}